
<div class="grid_24 po_re">
    <div class="panel clearfix box">
       <header class="clearfix box_header">
          <div class="fl_l pl_10 pr_20">	
          <h3 class="font16b lineh_32">{$_lang['work']}[ {if $task_info[work_num]}{$task_info[work_num]}{else}0{/if} ]</h3>
          </div>
		  <div class="grid_18 alpha">
          	<nav class="box_nav">
            	<ul class="clearfix">
		  		<li><a href="{$basic_url}&view=work">{$_lang['all_works']}[ {if $task_info[work_num]}{$task_info[work_num]}{else}0{/if} ]</a></li>
			{loop $work_prize $k $v}
				<li><a href="{$basic_url}&view=work&st=$k">{$v}[ {if $search_condit[$k][count]}{$search_condit[$k][count]}{else}0{/if} ]</a></li>
			{/loop} 
			 {if $task_obj->_guid != $uid}
					<li><a href="{$basic_url}&view=work&ut=my">{$_lang['my_works']}</a></li>
			 {/if}
		  	
			</ul>
            </nav>
		</div>
       </header><!--摘要-->
	   
     	
	   <!--摘要-->
       <div class="gj_summery clearfix">
       	<div id="gj_summery">
       {if $work_info}
      {loop $work_info $v}
	  <div class="items mt_5 mb_5 clearfix box">
		<!--稿件标题栏 start-->
         <div id="work_{$v[work_id]}" class="sum_title po_re clearfix ">
           <strong class="po_ab gj_bg">NO.{$v[work_id]}</strong>
             <div class="sum_left">
             	<span>{$_lang['contribute_time']}{$_lang['zh_mh']}<!--{date('Y-m-d H:i:s',$v[work_time])}--></span>
            {if $process_can['work_choose']}
			     <!--{eval $i=0;}-->
				{loop $work_prize $k1  $v1}
				    
					{if !in_array($v['work_status'],array('1','2','3','8'))}
					<span id="work_{$k1}_{$v[work_id]}">
						<a href="javascript:void(0);" class="button" onclick="workBid('{$v[work_id]}','{$k1}',this)">{$v1}</a>
					 </span>
					{/if}
					{if $i>0}
					 | 
					{/if}
					<!--{eval $i++}-->
				{/loop}
			{/if} 
			{if !$mark[$v[work_id]]||($mark[$v[work_id]][mark_status]!=1&&$mark[$v[work_id]][mark_count]<2)}
				{if $process_can['work_mark']&&(in_array($v['work_status'],array(1,2,3)))&&$uid==$task_info['uid']}<span>|<a href="javascript:void(0);" class="button" onclick="mark('{$basic_url}&op=mark&role_type=2&obj_id={$v[work_id]}&task_id={$task_id}');">{if $mark[$v[work_id]][mark_status]}{$_lang['modify_mark_info']}{else}{$_lang['mark_to_work']}{/if}</a></span>{/if}
				{if $process_can['task_mark']&&(in_array($v['work_status'],array(1,2,3)))&&$uid==$v['uid']}<span>|<a href="javascript:void(0);" class="button" onclick="mark('{$basic_url}&op=mark&role_type=1&obj_id={$v[work_id]}&task_id={$task_id}');">{if $mark[$v[work_id]][mark_status]}{$_lang['modify_mark_info']}{else}{$_lang['mark_to_g']}{/if}</a></span>{/if}
	        {/if}
			 {if $v['uid']==$uid||$uid==$task_info['uid']||$user_info['group']}
				<span class='fl_r pr_10 c396 fontb'>
					{if $v['is_view']||$uid==$task_info['uid']}
						{$_lang['has_viewed']}
					{else}
						{$_lang['not_vies']}
					{/if}
				</span> 
			{/if}
		     </div>
             
          </div>
          <!--稿件标题栏 end-->
          <!--稿件内容栏 start-->
          <div class="sum_content clearfix work_{$v[work_id]}">
          <!--用户信息栏 start-->
           <div class="sc_left t_c">
             <div class="user_info po_re pt_10" uid="{$v[uid]}" wid="{$v[work_id]}">
              
				<!--浮出层-->
                 <div class="po_ab user_detail hidden"></div>
                <!--end 浮出层-->
				
				
				<!--用户信息-->
				<div class="pl_20 t_l">
				<div class="fl_l mr_10">
				<a href="index.php?do=space&member_id={$v[uid]}" target="_blank"> <!--{userpic($v[uid],'small')}--></a>
				</div>
					
             	<!--{eval $user_leve=unserialize($v['seller_level'])}-->
				
               	 <div>
  				  	<p>
						<a href="index.php?do=space&member_id={$v[uid]}" target="_blank"><strong>{$v[username]}</strong></a>
					</p>	
					<p class="ml_10">{$user_leve[pic]} </p>
                 </div>
				 <div class="clear"></div>
                 <p>$v['residency']</p>
             	</div>
				<!--end 用户信息-->
             </div>
             
			
           </div>
             <!--用户信息栏 end-->
             
             <div class="sc_right pad20 po_re clearfix" id="{$v[work_id]}">
             <!--稿件详细 start-->
             <div class="work_status_big work_{$v[work_status]}_big qualified_big1 po_ab" alt="{$work_status[$v[work_status]]}" title="{$work_status[$v[work_status]]}"></div>
       		 <div class="pl_20">
			{if $v[hide_work]==1&&$uid!=$task_info[uid]&&$uid!=$v[uid]&&$v[work_status]!=4&&$user_info['group_id']<1}<!--隐藏，非雇主-->
					<div><img src="{SKIN_PATH}/img/task/workhide.jpg" alt=''></div>
			   {else}
               
			 	 <div class="ws_prewrap ws_break"><!--{eval echo kekezu::escape($v['work_desc'])}--></div>
                 
                 	{if $v['work_pic']}
						<!--{eval $pic = explode(',',$v['work_pic']);}-->
						{loop $pic $vc}
							<img src="{$vc}" alt=''>
						{/loop}
					{/if}
               		 <!--稿件附件-->
				 	{if $v['work_file']}
			   		  <details open  class="mb_20" id="file">
						 <!--{eval $file_count = sizeof(explode(",",$v['work_file']))}-->
			    		 <!--标题-->
			     		<summary class="pad5 fontb"><a href="javascript:void(0);" onclick="loadFile('{$v[work_id]}')">{$_lang['see_attachment']}($file_count)</a></summary>
			      		<div class="affix pl_10" id="work_{$v[work_id]}_file"></div>
			  		 </details>
			  	   {/if}
			       <!--end 稿件附件-->
				{/if}
				{if $v[comment_num]}
					<summary class="pad5 fontb">
					<a href="javascript:void(0);" onclick="loadComment(this,'{$v[work_id]}','{$v[uid]}')">
						{if $has_new[$v[work_id]]&&$uid==$v[uid]}
							(<!--{eval echo intval($has_new[$v[work_id]][count])}-->){$_lang['tiao_new_words']}
						{else}
							({$v[comment_num]}){$_lang['tiao_words']}
						{/if}
					</a>
					</summary>
				 {/if}
				 <!---->
				 <div id="work_{$v[work_id]}_comment" class="pb_10">
				 	
				 </div>
				 
			{if $uid==$task_info[uid]}
				 <div class="work_answer pt_10 pb_10 clearfix">
					<div class="answer-form ">
                    	<div class="grid_10">
						<textarea class="tar_comment txt_input" onkeydown="checkCommentInner(this,event)" cols="70">{$_lang['i_say_little']}</textarea>
                       
                            <div class="answer-textarea  answer-zone pt_10" style="display:none;">
                                <button type="button" class="button answer-zone" value="{$_lang['confirm']}" onclick="work_comment(this,'{$v[work_id]}')"><span class="check icon"></span>{$_lang['public']}</button>
                                <span class="answer_word">{$_lang['you_can_input']}</span>
                            </div>
                        </div>
					</div>
				</div>
			{/if}
                </div>
              </div>
            
			<div class="operate fl_r">
            	{if $user_info[group_id]=='7'}<a href="javascript:void(0);" onclick="workDel('{$v[work_id]}')"><div class=" icon16 trash mr_5"></div>{$_lang['del_work']}</a>|{/if}
				{if $uid!=$v['uid']}<a href="javascript:void(0);" onclick="favor('work_id','work','{$model_code}','{$v[uid]}','{$v[work_id]}','{$task_info[task_title]}{$_lang[ones_work]}','{$task_id}')"><div class="icon16 star-fav-empty mr_5"></div>{$_lang['favorit']}</a>|{/if}
				{if $process_can['work_report']&&$uid!=$v['uid']}<a href="javascript:void(0);" onclick="report('work','2','{$v[work_id]}','{$v[uid]}','{$v[username]}')"><div class=" icon16 hand-1 mr_5"></div>{$_lang['report']}</a>{/if}
				<!--
				{if $process_can['work_complaint']&&$uid!=$v['uid']}<a href="javascript:void(0);" onclick="report('work','3','{$v[work_id]}','{$v[uid]}','{$v[username]}')"><div class=" icon16 cog mr_5"></div>{$_lang['complaint']}</a>{/if}
				-->
			</div>
			
			</div>
			</div>
		 {/loop}
		 {else}
		 	<div class="t_c"><span class="c999">{$_lang['now_no_record']}</span></div>
		 {/if}
           <div class="page"><!--page 翻页 start-->
             <p class="clearfix"><span class="stats">{$_lang['total']} {$task_info[work_num]} {$_lang['tiao']} </span>{$pages[page]} </p>
             <div class="clear">
           </div>
        </div><!--page 翻页 end-->
		</div>
       </div><!--end 摘要-->
     </div>
	</div>